<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <title>Event KeyCodes 键码事件</title>
</head>

<body>
    <div id="insert">
        <div class="key">
            请输入任意键以得到其键码
        </div>
    </div>

    <script src="script.js"></script>
</body>

</html>